package com.cn.wanxi.autoconfig.config;

import com.cn.wanxi.autoconfig.service.IUserService;
import com.cn.wanxi.autoconfig.service.impl.UserServiceImpl;
import org.springframework.context.annotation.Bean;

/**
 * @ClassName SelfDfineConfig
 * @Description 自定义配置类，用于创建自定义的bean
 * @Author JiJiang
 * @Date 2022/10/18 18:52
 * @Version 1.0
 */

public class SelfDefineConfig {


    @Bean
    public IUserService userService() {
        return new UserServiceImpl();
    }
}
